<template>
  <div>
    <div class="company-wrapper clearfix">
      <div class="experience-title">
        <el-select  size="mini" v-model="value" placeholder="请选择">
          <el-option
            v-for="item in options"
            :key="item.value"
            :label="item.label"
            :value="item.value">
          </el-option>
        </el-select>
      </div>
      <div class="time">2018年9月 - 至今</div>
    </div>

    <div class="job-wrapper clearfix">
      <div class="experience-title">XXXX大学 </div> <!-- JOB TITLE  -->
      <div class="company-description">
        <p>计算机科学与工程系 软件工程</p>  <!-- JOB DESCRIPTION  -->
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'experience',
  data () {
    return {
      options: [{
        value: 'edu',
        label: '教育经历'
      }, {
        value: 'company',
        label: '工作经验'
      }],
      value: ''
    }
  }
}
</script>

<style scoped>
.clearfix::after, .clearfix::before {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

.experience h3.experience-title {
  color: #66cc99;
  text-align: left;
  text-transform: uppercase;
  font-size: 1.2em;
  margin-bottom: 20px;
  font-weight: 400;
  display: inline;
  margin-right: 100px;
}
.experience .company-wrapper {
  width: 30%;
  float: left;
  text-align: left;
  padding-right: 5%;
  margin-bottom: 60px;
  box-sizing: border-box;
}
@media (max-width: 450px) {
  .experience .company-wrapper {
    width: 100%;
    margin-bottom: 20px;
  }
}
.experience .job-wrapper {
  width: 70%;
  float: left;
  text-align: left;
  padding-right: 5%;
  margin-bottom: 60px;
  box-sizing: border-box;
}
@media (max-width: 450px) {
  .experience .job-wrapper {
    width: 100%;
    margin-bottom: 40px;
    box-sizing: border-box;
  }
}
.experience .experience-title {
  color: white;
  margin-bottom: 15px;
}
</style>
